package com.example.admin.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.admin.R;
import com.example.admin.SQLite.Complaint;
import com.example.admin.SQLite.TongZhi;
import com.example.admin.SQLite.User;

public class AdminTab1dapter extends BaseQuickAdapter<TongZhi, BaseViewHolder> {

    public AdminTab1dapter() {
        super(R.layout.item_tab1);
    }

    @Override
    protected void convert(BaseViewHolder helper, TongZhi str) {
        helper.setText(R.id.tvTitle, str.tongzhiTitle);
        helper.setText(R.id.tvTime, str.tongzhiTime);
        helper.addOnClickListener(R.id.tvSelet);

    }

}